package com.xia.qianke.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @ClassName QkConfig
 * @Description TODO
 * @Author XJY
 * @Date 2022/7/8 10:17
 * @Version 1.0
 **/
@Configuration(proxyBeanMethods = false)
public class QkConfig {
    @Bean
    public RestTemplate restTemplate(){
        //默认引擎
        RestTemplate restTemplate = new RestTemplate ();
        return restTemplate;
    }
}
